-
Notifications
You must be signed in to change notification settings - Fork 146
chore(engine): add support for epoxy debugging #3794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(engine): add support for epoxy debugging #3794
Conversation
|
🚅 Deployed to the rivet-pr-3794 environment in rivet-frontend
🚅 Environment rivet-pr-3794 in rivet-frontend-website-preview has no services deployed. |
PR Review: Epoxy Debugging SupportThis PR adds comprehensive debugging tools for the Epoxy distributed consensus system. Overall, the implementation is solid with good structure and error handling. Here are my findings: ✅ Strengths
🔍 Issues Found1. Security: No Authentication/Authorization (Critical)The new debug endpoints in
Recommendation: Add authentication middleware or at minimum restrict these endpoints to internal/peer traffic only. The write endpoint ( 2. Error Handling: Missing Timeout on Fanout RequestsIn let response_result = client.get(&url).send().await;If a replica is unresponsive, this could hang indefinitely. Recommendation: Add a timeout using 3. Performance: Sequential Fanout RequestsIn for replica_config in &config.replicas {
// ... sequential HTTP request
}Recommendation: Use 4. Code Style: Explicit
|
164c0eb to
8b32560
Compare
08f2cb5 to
caeb405
Compare
More templates
@rivetkit/cloudflare-workers
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/virtual-websocket
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
caeb405 to
d789061
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
d789061 to
df64d01
Compare
df64d01 to
0a56839
Compare
0a56839 to
e11706d
Compare
e11706d to
fbe3ebc
Compare
fbe3ebc to
d3bc9c1
Compare
d3bc9c1 to
31d3705
Compare
Merge activity
|

No description provided.